package me.ratel.demo.eBook.interfaces.ordering.dto;

import me.ratel.demo.wechat.entities.AdaptorCDATA;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;

/**
 * @author Administrator
 * @time 2016/9/23 23:16
 */
@XmlRootElement(name = "xml")
public class OrderNotifyResponseDto {
    private String returnCode;

    private String returnMsg;

    public OrderNotifyResponseDto() {
    }

    public OrderNotifyResponseDto(String returnCode, String returnMsg) {
        this.returnCode = returnCode;
        this.returnMsg = returnMsg;
    }

    @XmlElement(name = "return_code")
    @XmlJavaTypeAdapter(value = AdaptorCDATA.class)
    public String getReturnCode() {
        return returnCode;
    }

    public void setReturnCode(String returnCode) {
        this.returnCode = returnCode;
    }

    @XmlElement(name = "return_msg")
    @XmlJavaTypeAdapter(value = AdaptorCDATA.class)
    public String getReturnMsg() {
        return returnMsg;
    }

    public void setReturnMsg(String returnMsg) {
        this.returnMsg = returnMsg;
    }
}
